package com.gregbugaj.nscaffold.generator.artifact;

import java.io.File;

public class FolderArtifact extends Artifact {
	
	private File outputRoot;
	
	@Override
	public ArtifactType getType() {
		return ArtifactType.FOLDER;
	}


	@Override
	public void render() {
		File out=getOutputRoot();
		out.mkdir();
	}


	@Override
	public File getOutputRoot() {	
		outputRoot=new File(root, getSimpleName());
		return outputRoot;
	}

}
